package com.wiiss.business.controller;

import com.wiiss.business.domain.vo.UnloadItemReq;
import com.wiiss.common.annotation.Log;
import com.wiiss.common.controller.BaseController;
import com.wiiss.common.domain.AjaxResult;
import com.wiiss.common.enums.BusinessType;
import com.wiiss.common.utils.bean.BeanUtils;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;

import javax.validation.Valid;

/**
 * @author my
 */
@Api(tags = "任务相关处理")
@RestController
@RequestMapping("/mcs/v1")
@AllArgsConstructor
@Slf4j
public class MissionController extends BaseController {
    /**
     * MCS页面-机台下料
     */
    @Log(title = "机台下料-mcs页面", businessType = BusinessType.INSERT)
    @ApiOperation("机台下料-mcs页面")
    @PostMapping("/MES_StockerIn")
    public AjaxResult stockerIn(@Valid @RequestBody UnloadItemReq unloadItemReq) {

        return AjaxResult.success();
    }
}
